import { MockHttp } from "@/http/axios";
import { IUserItem } from "./type";

enum USER {
  USER_LIST = "/mock/user",
}

export const userList = (params) =>
  MockHttp.get<App.RequestTableResult<IUserItem>>({
    url: USER.USER_LIST,
    params,
  });
